ifneq ($(KERNELRELEASE),)
    obj-m := hello.o 
    #hello-objs := print.o
else
    KERNELDR := /usr/src/linux-headers-$(shell uname -r)/ 
    PWD := $(shell pwd)  
modules:  
	$(MAKE) -C $(KERNELDR) M=$(PWD) modules  
moduels_install:  
	$(MAKE) -C $(KERNELDR) M=$(PWD) modules_install  
clean:  
	rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions  
endif
